package com.allwees.support.marketing.event;

import org.springframework.context.ApplicationEvent;

/**
 * @Author Daniel
 * @Version 1.0.0
 * @Description
 * @CreateTime 2020/9/3 21:14
 */
public class PriceRuleUpdatedEvent extends ApplicationEvent {

    private static final long serialVersionUID = 2656696951140955445L;

    public PriceRuleUpdatedEvent(Object source) {
        super(source);
    }

    public static PriceRuleUpdatedEvent get(){
        return new PriceRuleUpdatedEvent("1");
    }

    public String getExchange() {
        return "ex.Product.PriceRule";
    }

    public String getRoutingKey() {
        return "";
    }
}
